//
//  rootViewController.h
//  百车易车险
//
//  Created by chenxu on 15/3/7.
//  Copyright (c) 2015年 chenxu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "User.h"
@interface rootViewController : UIViewController<UITableViewDataSource,UITableViewDelegate,UIActionSheetDelegate,UINavigationControllerDelegate,UIImagePickerControllerDelegate>


@property (nonatomic,strong) User *user;
@property (weak, nonatomic) IBOutlet UISegmentedControl *segment;

@property (weak, nonatomic) IBOutlet UIView *view1;

@property (weak, nonatomic) IBOutlet UILabel *notice;
@property (weak, nonatomic) IBOutlet UIImageView *ad;
@property (strong, nonatomic) IBOutlet UIButton *newold;
@property (strong, nonatomic) IBOutlet UIButton *oldnew;
@property (strong, nonatomic) IBOutlet UIButton *newnew;
@property (strong, nonatomic) IBOutlet UIButton *oldold;
@property (strong, nonatomic) IBOutlet UIButton *girl;




@property (weak, nonatomic) IBOutlet UIView *view2;

@property (weak, nonatomic) IBOutlet UIImageView *avatar;
@property (weak, nonatomic) IBOutlet UILabel *name;
@property (weak, nonatomic) IBOutlet UILabel *phone;

@property (strong, nonatomic) IBOutlet UITableView *myTableview;

- (void)logout:(id)sender;



- (IBAction)changeview:(id)sender;

- (void)refresh;

//刷新广告
- (void)getLimitnumber;

@end
